﻿using System;
using System.ServiceModel;

namespace AMPLibrary.Server
{
    public interface IRemoteInterfaceServer
	{
		[OperationContract(IsInitiating = true)]
		bool Authenticate(string userName, string password);

		[OperationContract(IsInitiating = false, IsTerminating = true, IsOneWay = true)]
		void Disconnect();
	}
}